package payroll25.trans;
import payroll25.classification.SalariedClassfication;

public class ChangeSalariedTrasaction extends ChangeClassificationTransaction {

    private double salary;

    public ChangeSalariedTrasaction(int empId, double salary) {
        super(empId);
        this.salary = salary;
    }

    @Override
    protected SalariedClassfication getPaymentClassification() {
        return new SalariedClassfication(salary);
    }
}
